@charset "utf-8";
/* CSS Document */
body{
	font-family: Arial, Helvetica, sans-serif;
	color: #666;
	margin-bottom: 50px;
}

a{
	border: none;	
}

h4{
	padding: 0;
	margin: 0;
}

input{
	background-color: #f3f3f3;
	border: 1px #ddd solid;
	color: #999;
	cursor: pointer;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin: 5px;
}

input[type=button], input[type=submit]{
	text-align: center !important;	
	padding: 10px 20px;
}

input[type=text], input[type=password]{
	padding: 5px 15px 5px 5px;
	background-color: #fff;
	cursor: text;
}

input[type=button]:hover,input[type=submit]:hover{
	border: 1px #ccc solid;
	-moz-box-shadow: .5px .5px .5px #ccc;
	-webkit-box-shadow: .5px .5px .5px #ccc;
	box-shadow: .5px .5px .5px #ccc;
	
	-webkit-transition:all .3s linear;
	-moz-transition:all .3s linear;
	-ms-transition:all .3s linear;
	-o-transition:all .3s linear;
	transition:all .3s linear;	
}

input[type=number]{
	padding: 5px 20px;
	min-width: 45px;
	color: #000;
}

label{
	display: inline-block;	
}

li{
	margin-bottom: 5px;	
}

table{
	border-spacing: 0;
}

ul{
	list-style: none;
	margin: 0;
	padding: 0;
	text-indent: 0;	
}

#container{
	width: 850px;
	margin: 0 auto;
}

#center{
	position: absolute;
	top: 50%;
	margin-top: -190px;
	left: 50%;
	margin-left: -350px;
	width: 700px;
	height: 380px;
}

#center img, #center form{
	display: inline-block;
	vertical-align: top;
	margin-left: 50px;
}

#center form{
	margin-left: 50px;	
}

#header{
	width: 100%;
	background-color: #1A1A1A;
	position: absolute;
	top: 0;
	left: 0;
	-moz-box-shadow: 0px 1px 1px #666;
	-webkit-box-shadow: 0px 1px 1px #666;
	box-shadow: 0px 1px 1px #666;
	padding: 5px 10px;
	font-size: 12px;
	text-align: left;
	overflow-x: hidden;
	color: #CCC;
	height: 50px;
	max-height: 50px;
}

#header img, #nav, #header span{
	display: inline-block;
	vertical-align: middle;
}

#nav{
	width: 95%;
	text-align: right;
	overflow-x: hidden;
	position: absolute;
	top: 5px;
	right: 25px;
}

#nav li{
	padding: 5px 10px;
	display: inline-block;
	vertical-align: middle;
	position: relative;
}

#nav a{
	color: #fff;
	text-decoration: none;
}

#nav li a{
	cursor: pointer;	
}

#nav .subnav li{
	display: block;	
}

#main{
	width: 850px;
	margin: 100px auto 0;
}

#search_results{
	max-height: 1000px!important;
	overflow: auto;
	margin-top: 50px;
}

#login a{
	font-size: 9pt;
	text-decoration: none;
}

.attention{
	background-color: #FFC!important;
	border-color: #FC3!important;
	font-weight: bold!important;
	color: #C90!important;
}

.attention:hover{
	border: 1px #C90 solid!important;
	-moz-box-shadow: .5px .5px .5px #ccc!important;
	-webkit-box-shadow: .5px .5px .5px #ccc!important;
	box-shadow: .5px .5px .5px #ccc!important;
	
	-webkit-transition:all .3s linear!important;
	-moz-transition:all .3s linear!important;
	-ms-transition:all .3s linear!important;
	-o-transition:all .3s linear!important;
	transition:all .3s linear!important;	
}

.callback_msg{
	height: 50px;
	line-height: 50px;
	width: 100%;
	text-align: center;
}

.error{
	color: #B12A2C;	
}

.whole{
	width: 100% !important;
}

.list{
	max-height: 400px;
	overflow-y: auto;
	margin-bottom: 50px;
	width: 100%;
}

.list td{
	vertical-align: middle;	
}

.list td:nth-child(1){
	width: 50px;	
}

.list td:nth-child(2){
	width: 150px;	
}

.list td:nth-child(3){
	width: 200px;	
}

.list td:nth-child(4){
	width: 450px;	
}

.list td:nth-child(2){
	font-weight: bold;
	padding-right: 20px;
}

.list td:not(:first-child){
	border-bottom: 1px #efefef solid;
}

.list .action{
	width: 300px;
	text-align: right;
}

.list td:first-child img{
	margin-right: 10px;
}

.list .action img{
	margin-top: 8px;
	margin-right: 5px;
}

.required{
	font-weight: bold;	
}

.search{
	width: 70%;	
}

/* RECIPES */
h4{
	margin: 40px 0 20px 0;	
}

.section input:not([type=button]){
	color: #000!important;	
}

.recipe-name input{
	width: 93%!important;	
	padding: 10px;
}

.details td{
	padding-right: 20px;	
}

#photo{
	width: 200px;
	height: 200px;
	overflow: hidden;
}

input[type=file]{
	width: 200px;	
}

.ui-autocomplete{
	background-color: #fff;
	color: #000;
	max-height: 100px;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 20px;
}	

.directions label, .directions textarea{
	display: inline-block;
	vertical-align: middle;	
}

.details input[type=text]{
	width: 250px;	
}

.ingredients label, .directions label, .quantity{
	width: 30px!important;	
}	

.ingredient{
	width: 300px;	
}

.next{
	right: 0;
}

.prev{
	left: 0;
}

.next,.prev{
	position: absolute;
	bottom: 0;
	background-color: #000;
	color: #fff!important;
}

.recipes{
	font-size: 8pt;
	text-align: center;
}

.optional{
	font-size: 10px;	
}

.section{
	border-bottom: 1px #ccc solid;
	padding-bottom: 40px;
}

.section{
	position: relative;
}	

.step{
	position: absolute;
	top: -10px;
	left: -60px;
	background-color: #000;
	color: #fff;
	-moz-border-radius: 15px;
	border-radius: 15px;
	padding: 10px 20px;
}

.tabs li{
	cursor: pointer;
	padding-bottom: 10px;
	margin-bottom: 30px;
}

.tabs li{
	display: inline-block;
	padding: 10px;
}

.selectedTab{
	background-color: #000;
	color: #fff;
}

.directions textarea{
	width: 585px;	
}

/* view recipe */

#recipe{
	margin-top: 50px;
}

#recipe td{
	vertical-align: top;	
}

#recipe h2, #recipe h3{
	margin: 0;
	padding: 0;
	display: inline-block;
}

#recipe #tags{
	margin-bottom: 25px;	
}

#recipe .details{
	padding-right: 20px;	
}

#details tr:nth-child(2) td{
	padding-bottom: 20px;	
}

#recipe .total_label, #recipe #total{
	font-weight: bold;
	font-size: 110%;
}

#recipe .tags{
	display: inline-block;
	background-color: #000;
	color: #fff;
	margin-right: 5px;
	padding: 5px;
	font-size: 10px;
}

#recipe div{
	margin-right: 50px;
}

#recipe, #recipe #main{
	width: 100%;	
}

#recipe .optional{
	display: inline-block;
	margin-left: 10px;
	font-style: italic;
}

#recipe ol{
	margin: 0;
	margin-left: 10px;
	padding: 0;
	text-indent: 0;
}

#author-recipes{
	font-size: 10px!important;
	padding: 0 5px;
	margin-bottom: 20px;
}

#author{
	font-size: 10px!important;
}

.filter{
	width: 78%;	
}

#options{
	position: absolute;
	top: 200px;
	right: 50px;
	background-color: #eee;
	text-align: center;
}

#favorite, #unfavorite, #delete_recipe, #add_recipe, #filter, #search_friends,.add_comment,#rate,#email{
	background-repeat: no-repeat;
	background-position: 8% 50%;
	padding-left: 37px!important;
}

#favorite, #unfavorite, #delete_recipe,.add_comment,#rate,#email{
	background-color: #fff;
	color: #333;
	width: 200px;
	display: block;
}

#email{
	background-image: url(../images/icons/email.png);
}

#add_recipe{
	background-image: url(../images/icons/add.png);
}

.add_comment{
	background-image: url(../images/icons/comment.png);
}

#rate{
	background-image: url(../images/icons/yes.png);
}

#filter, #search_friends{
	background-image: url(../images/icons/magnify.png);
}

#favorite{
	background-image: url(../images/icons/star_blue.png);
}

#unfavorite{
	background-image: url(../images/icons/no.png);
}

#delete_recipe{
	display: none;
	background-image: url(../images/icons/delete.png);
}

#comments{
	width: 100%;
	background-color: #eee;
	padding: 10px;
	position: relative;
}

#comments #charcount{
	position: absolute;
	top: 14%;
	right: 11%;
	font-size: 10px;
}

#comments textarea{
	width: 69%;	
	height: 100px;
}

#comments .add_comment{
	display: inline-block!important;
	vertical-align: bottom;
	width: 28%;
}

#comments ul li{
	background-color: #fff;
	color: #333;
	display: block;
	border: 1px #ddd solid;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin: 5px;
	padding: 10px 20px;
	padding-left: 75px!important;
	padding-bottom: 25px!important;
	position: relative;
	min-height: 40px;
}

#comments .comment_photo{
	height: 40px;
	position: absolute;
	top: 50%;
	margin-top: -20px;
	left: 10px;
}

#comments .comment_details{
	display: inline-block;
	position: absolute;
	right: 5px;
	bottom: 5px;
	font-size: 9px;
	color: #666;
}

#comments .email{
	color: #3485a0;	
}

#comments .delete{
	width: 16px;
	height: 16px;
	background-image: url(../images/icons/delete.png);
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	bottom: 5px;
	right: -40px;
	cursor: pointer;
}

#rate_it{
	display: none;	
	margin: 0 auto;
	width: 100%;
}

#avg_rating{
	display: inline-block;
	margin: 0;
}

#ratings_count{
	display: inline-block;
	margin-bottom: 50px;
	margin-top:5px;
	margin-left: -50px;
	font-size: 8pt;
	vertical-align: top;
}

#rate_it div, #avg_rating div{
	width: 20px;
	height: 20px;
	display: inline-block;
	background-image: url(../images/star-off.png);
	background-repeat: no-repeat;
	padding: 0;
	margin: 0;
}


/**************************
	Latest Activity
**************************/
#latest_activity{
	width: 80%;
	padding: 10px;
	position: relative;
	margin: 0 auto;
}

#latest_activity li{
	background-color: #fff;
	color: #333;
	display: block;
	border-bottom: 1px #eee solid;
	margin: 5px;
	padding: 10px 20px;
	padding-left: 75px!important;
	padding-bottom: 25px!important;
	position: relative;
	min-height: 40px;
}

#latest_activity .photo{
	height: 40px;
	position: absolute;
	top: 10px;
	left: 10px;
}

#latest_activity .desc{
	font-size: 8pt;	
}

#latest_activity .recipe_mask{
	width: 75px;
	height: 75px;
	overflow: hidden;
}

#latest_activity table{
	margin-top: 20px;
	border-spacing: 10px;
}

#latest_activity td{
	vertical-align: middle;
	font-size: 9pt;
}

#latest_activity td h5{
	margin: 0;
	padding: 0;
	font-size: 10pt;
	margin-bottom: 5px;
}

#latest_activity a{
	color: #3485a0;
	text-decoration: none;
}

#latest_activity .tag{
	display: inline-block;
	background-color: #000;
	color: #fff;
	margin-right: 5px;
	padding: 5px;
	font-size: 8pt;	
	cursor: pointer;
}

#latest_activity .comment{
	color: #000;
	font-size: 11pt;
}

#latest_activity .rating{
	font-size: 10pt;	
}

#latest_activity .avg_rating{
	display: inline-block;
	font-size: 8pt;
	vertical-align: top;
	margin-top: 4px;
}

#latest_activity .timestamp{
	position: absolute;
	bottom: 20px;
	right: 0;
	font-size: 7pt;
	color: #666;
}

#tasks{
	margin: 0 auto;	
	width: 100%;
	text-align: center;
}

#ingredients label{
	width: 135px;	
}

#yield{
	vertical-align: middle;	
}

#serving_size{
	margin-top: -10px;
	width: 20px;
}